﻿@model IEnumerable<Log>
@Html.Extra()
<table>
    <thead>
        <tr>
            <th>业务</th>
            <th>操作</th>
            <th>操作人</th>
            <th>操作人IP</th>
            <th>操作时间</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr id="@item.Id">
                <td>
                    @item.LogType.Name
                </td>
                <td>
                    @(((Operation)item.Operation).ToText())
                </td>
                <td>
                    @item.CreatorUserName
                </td>
                <td>
                    @item.IP
                </td>
                <td>
                    @item.CreateTime
                </td>
            </tr>
        }
    </tbody>
</table>
